﻿using System;
using EPiServer.Core;

namespace EPiCloner.EventHandlers
{
    public delegate PageDataCollection GetChildrenEventHandler(GetChildrenEventArgs e);
 
    public class GetChildrenEventArgs : EventArgs
    {
        public GetChildrenEventArgs(PageReference pageData, ILanguageSelector language)
        {
            PageReference = pageData;
            Language = language;
        }

        public PageReference PageReference { get; private set; }
        public ILanguageSelector Language { get; private set; }
    }

}